package com.pzhu.record.service.impl;

import com.pzhu.record.entity.Teacher;
import com.pzhu.record.service.TeacherService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 教师Teacher业务实现类
 *
 * @author Zhou YuSen
 * @date 2020/4/2 16:48
 */
@Service("teacherService")
@Transactional
public class TeacherServiceImpl extends BaseServiceImpl implements TeacherService {

    @Override
    public int insert(Teacher teacher) {
        return 0;
    }

    @Override
    public int update(Teacher teacher) {
        return 0;
    }

    @Override
    public int delete(String id) {
        return 0;
    }

    @Override
    public int deleteAll(String[] pks) {
        return 0;
    }

    @Override
    public Teacher selectById(String id) {
        return teacherMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<Teacher> selectAll() {
        return null;
    }

    @Override
    public int insertSelective(Teacher teacher) {
        return 0;
    }

    @Override
    public Teacher selectByIdOrpass(String teacherId, String teacherPassword) {
        return teacherMapper.selectByIdOrpass(teacherId, teacherPassword);
    }
}
